﻿using System;
using SelfService.Model.Models;

namespace SelfService.Model.Interface
{
    public interface IPay
    {
        /// <summary>
        /// 支付方式
        /// </summary>
        public SysPayType PayType { get; set; }

        /// <summary>
        /// 支付金额
        /// </summary>
        public decimal Amount { get; set; }

        /// <summary>
        /// 外部订单号
        /// </summary>
        public string OutOrderNo { get; set; }

        /// <summary>
        /// 业务流水号
        /// </summary>
        public string SerialsNumber { get; set; }

        /// <summary>
        /// 支付链接
        /// </summary>
        public string PayUrl { get; set; }

        /// <summary>
        /// 缴费时间
        /// </summary>
        public DateTime? PayTime { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 支付状态
        /// </summary>
        public PayStatusEnum PayStatus { get; set; }

        /// <summary>
        /// 退款状态
        /// </summary>
        public RefundStatusEnum RefundStatus { get; set; }
        
        public string RefundId { get; set; }
        
        public string RefundNo { get; set; }
    }
}
